package com.ruoyi.product.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 计划执行对象 product_plan
 * 
 * @author ruoyi
 * @date 2023-02-10
 */
public class ProductPlan extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 状态 */
    @Excel(name = "状态")
    private String planState;

    /** 项目编码 */
    @Excel(name = "项目编码")
    private String planProject;

    /** 编码编码 */
    @Excel(name = "编码编码")
    private String planSet;

    /** 零件编码 */
    @Excel(name = "零件编码")
    private String planPart;

    /** 工序编码 */
    @Excel(name = "工序编码")
    private String planProcedure;

    /** 焊缝编码 */
    @Excel(name = "焊缝编码")
    private String weldingCode;

    /** 焊接方法 */
    @Excel(name = "焊接方法")
    private String weldingMethod;

    /** 焊接材料 */
    @Excel(name = "焊接材料")
    private String weldingMaterial;

    /** 规格 */
    @Excel(name = "规格")
    private String specifications;

    /** 电流/安培(A) */
    @Excel(name = "电流/安培(A)")
    private String electricCurrent;

    /** 电压/伏特(V) */
    @Excel(name = "电压/伏特(V)")
    private String voltage;

    /** 焊工 */
    @Excel(name = "焊工")
    private String welder;

    /** 派单时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "派单时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date weldingTime;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    /** 预留1 */
    private String spare1;

    /** 预留2 */
    private String spare2;

    /** 预留3 */
    private String spare3;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPlanState(String planState) 
    {
        this.planState = planState;
    }

    public String getPlanState() 
    {
        return planState;
    }
    public void setPlanProject(String planProject) 
    {
        this.planProject = planProject;
    }

    public String getPlanProject() 
    {
        return planProject;
    }
    public void setPlanSet(String planSet) 
    {
        this.planSet = planSet;
    }

    public String getPlanSet() 
    {
        return planSet;
    }
    public void setPlanPart(String planPart) 
    {
        this.planPart = planPart;
    }

    public String getPlanPart() 
    {
        return planPart;
    }
    public void setPlanProcedure(String planProcedure) 
    {
        this.planProcedure = planProcedure;
    }

    public String getPlanProcedure() 
    {
        return planProcedure;
    }
    public void setWeldingCode(String weldingCode) 
    {
        this.weldingCode = weldingCode;
    }

    public String getWeldingCode() 
    {
        return weldingCode;
    }
    public void setWeldingMethod(String weldingMethod) 
    {
        this.weldingMethod = weldingMethod;
    }

    public String getWeldingMethod() 
    {
        return weldingMethod;
    }
    public void setWeldingMaterial(String weldingMaterial) 
    {
        this.weldingMaterial = weldingMaterial;
    }

    public String getWeldingMaterial() 
    {
        return weldingMaterial;
    }
    public void setSpecifications(String specifications) 
    {
        this.specifications = specifications;
    }

    public String getSpecifications() 
    {
        return specifications;
    }
    public void setElectricCurrent(String electricCurrent) 
    {
        this.electricCurrent = electricCurrent;
    }

    public String getElectricCurrent() 
    {
        return electricCurrent;
    }
    public void setVoltage(String voltage) 
    {
        this.voltage = voltage;
    }

    public String getVoltage() 
    {
        return voltage;
    }
    public void setWelder(String welder) 
    {
        this.welder = welder;
    }

    public String getWelder() 
    {
        return welder;
    }
    public void setWeldingTime(Date weldingTime) 
    {
        this.weldingTime = weldingTime;
    }

    public Date getWeldingTime() 
    {
        return weldingTime;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }
    public void setSpare1(String spare1) 
    {
        this.spare1 = spare1;
    }

    public String getSpare1() 
    {
        return spare1;
    }
    public void setSpare2(String spare2) 
    {
        this.spare2 = spare2;
    }

    public String getSpare2() 
    {
        return spare2;
    }
    public void setSpare3(String spare3) 
    {
        this.spare3 = spare3;
    }

    public String getSpare3() 
    {
        return spare3;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("planState", getPlanState())
            .append("planProject", getPlanProject())
            .append("planSet", getPlanSet())
            .append("planPart", getPlanPart())
            .append("planProcedure", getPlanProcedure())
            .append("weldingCode", getWeldingCode())
            .append("weldingMethod", getWeldingMethod())
            .append("weldingMaterial", getWeldingMaterial())
            .append("specifications", getSpecifications())
            .append("electricCurrent", getElectricCurrent())
            .append("voltage", getVoltage())
            .append("welder", getWelder())
            .append("weldingTime", getWeldingTime())
            .append("remarks", getRemarks())
            .append("spare1", getSpare1())
            .append("spare2", getSpare2())
            .append("spare3", getSpare3())
            .toString();
    }
}
